package com.blog.article.entity.VO;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**文章VO类
 * @author admin
 * @version 1.0 <br/>
 * <p style="font-family:SimSun;font-weight:bold">时间:<br/>2021/12/15 23:14</p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ArticleVO implements Serializable {
    private static final long serialVersionUID = 1L;
    private String blogTitle;
    private String articleContent;
    private List<String> tags;
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm:ss", timezone="GMT+8")
    private Date blogTime;
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm:ss", timezone="GMT+8")
    private Date lastTime;
}
